<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>
<form id="userForm" method="post" action="/sys/user/saveOrUpdate">
    <input type="hidden" name="id" th:value="${user.id}"/>
    <table>
        <tr>
            <td>账号</td>
            <td><input name="account" th:value="${user.account}"/></td>
        </tr>
        <tr>
            <td>用户名</td>
            <td><input name="userName" th:value="${user.userName}"/></td>
        </tr>
        <tr>
            <td>密码</td>
            <td><input name="password" th:value="${user.password}"/></td>
        </tr>
        <tr>
            <td>权限</td>
            <td><input name="authority" th:value="${user.authority}"/></td>
        </tr>
        <tr>
            <td><input type="submit" value="提交"/></td>
        </tr>
    </table>
</form>

</body>
</html>
